<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>simplemap</title>
    <script src="../v7.1.0/en/latest/ol/dist/ol.js"></script>
    <link rel="stylesheet" href="../v7.1.0/en/latest/ol/ol.css">
    <style>
        body {
            margin: 0;
            padding: 0;
        }

        #map{
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            min-height: 100%;
            height: auto;
        }
    </style>
</head>
<body>
    <div id="map"></div>
    <script>
        var map = new ol.Map({
            target : 'map',
            layers: [
                new ol.layer.Tile({
                    source: new ol.source.OSM()
                })
            ],
            view : new ol.View({
                projection: ol.proj.get('EPSG:3857'),
                center: ol.proj.transform([113.65,34.75], 'EPSG:4326', 'EPSG:3857'),
                zoom: 5
            }),
        })
    </script>
</body>
</html>